package cn.yuanqiao.archive.wenjianzhengli.mapper;

import cn.yuanqiao.archive.wenjianzhengli.domain.Yqdatransdoc;
import cn.yuanqiao.archive.wenjianzhengli.domain.vo.YqdatransdocVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zjj
 * @date 2023/8/9
 */
public interface YqdatransdocMapper {
    int delYqdatransdoc(@Param("tableName")String tableName, @Param("docIds")Long[] docIds);

    int insertYqdatransdoc(Yqdatransdoc yqdatransdoc);

    int updateYqdatransdoc(Yqdatransdoc yqdatransdoc);

    void createYqdatransdoc(@Param("tableName")String tableName);

    List<YqdatransdocVo> selectYqdatransdoc(@Param("tableName")String tableName, @Param("state")Integer state, @Param("col")String col, @Param("whereCol")String whereCol, @Param("filename")String filename, @Param("starttime")String starttime, @Param("endtime")String endtime);

    List<String> getEFileTableName(@Param("tenantCode")String tenantCode);
}
